package display3d.away3d {
	import away3d.core.utils.Cast;
	import away3d.materials.BitmapMaterial;

	/**
	 * @author jao
	 */
	public class Luigi3D extends Mario3D {
		
		[Embed(source="../assets/luigi_texture.jpg")]
		private var LuigiTexture:Class;
		
		public function Luigi3D() {
			super();
		}
		
		override protected function setMaterial():void{
			model.materialLibrary.getMaterial("FF_FF_FF_mario1").material = new BitmapMaterial(Cast.bitmap(LuigiTexture));
		}
		
	}
}
